using ZR.Model;
using ZR.Model.Dto.Business.ProductionControl;
using ZR.Model.Models.ProductionControl;

namespace ZR.Service.IService.ProductionControl
{
    /// <summary>
    /// 故障日志service接口
    /// </summary>
    public interface IFaultLogService : IBaseService<FaultLog>
    {
        PagedInfo<FaultLogDto> GetList(FaultLogQueryDto parm);

        FaultLog GetInfo(long Id);

        FaultLog AddFaultLog(FaultLog parm);

        int UpdateFaultLog(FaultLog parm);

        Task<FaultLog> QueryInfoByFaultNoAsync(int faultNo);
    }
}